#include <math.h>
#include <stdio.h>
#include <wx/wx.h>
#include <wx/string.h>
#include "main.h"
#include "mycanvas.h"
#include "topFrame.h"



/**********************************************************************/
 /************** This function run the application         *************/
 /************** can force some parameters too (p.ej size) *************/
 /**********************************************************************/
 IMPLEMENT_APP(SampleApp)

 bool SampleApp::OnInit()
 {
     TopFrame *frame;
     frame = new TopFrame(this, _T("Welcome to wxWidgets!"));
     frame->Show(true);	//show the frame of application
     frame->Maximize();	//maximize the frame of application

     return true; //true == run the app
     //no delete!!! it's implement in destroy();
 }



